﻿using PLCS.Application.Contracts.ErrorLibraryApp.Dtos;
using PLCS.Application.Contracts.ErrorLogApp.Dtos;

using Volo.Abp.Application.Dtos;

namespace PLCS.Client.IService.LogManager
{
    public interface IErrorLogService : IBaseService<ErrorLogDto, ErrorLogEditDto>
    {
        Task DiseposeErrorAsync(Guid Id, string reason, string solution);

        Task<List<ErrorLogDto>> GetUnDisposedErrorAsync();

        Task<PagedResultDto<ErrorLogDto>> GetListBySearchAsync(int skipCount, int maxResultCount, string? code, string? kind, string? source, string? startTime, string? endTime);

        Task DiseposeAllErrorAsync();
    }
}